/**
 * 账目明细条目类
 */
export class AccountingRec {
    roomNo; // 房号
    accountNo; // 账号
    guestName; // 姓名
    docNo; // 单据号
    type; // 科目
    bill; // 金额
    time; // 时间
    operator; // 操作员

    /**
     * 费用发生表的表头和描述
     */
    static tableColumn = [
        {col: 'roomNo', label: '房号'},
        {col: 'accountNo', label: '账号'},
        {col: 'guestName', label: '姓名'},
        {col: 'docNo', label: '单据号'},
        {col: 'type', label: '科目'},
        {col: 'bill', label: '金额'},
        {col: 'time', label: '记录时间'},
        {col: 'operator', label: '操作员'}];

    constructor(roomNo, accountNo, guestName, docNo, type, bill, time, op) {
        this.roomNo = roomNo;
        this.accountNo = accountNo;
        this.guestName = guestName;
        this.type = type;
        this.bill = bill;
        this.time = time;
        this.operator = op;
    }
}